package com.seisys.service.system.subsys;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.seisys.dao.DaoSupport;
import com.seisys.util.IData;

@Service("subSysRoleService")
public class SubSysRoleService {

	@Resource(name = "daoSupport")
	private DaoSupport dao;
	
	@SuppressWarnings("unchecked")
	public List<IData> getSubSysRolelistbyUserID(IData param) throws Exception {
		return (List<IData>) dao.findForList("SubSysRoleMapper.getSubSysRolelist", param);

	}

	public List<IData> getSubSysRole(IData param) throws Exception {
		 return (List<IData>) dao.findForList("SubSysRoleMapper.getSubSysRolelistNew", param);
	}
}
